//
//  PhotoCell.m
//  Lovelife
//
//  Created by dllo on 15/4/28.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "PhotoCell.h"

@implementation PhotoCell

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.myImageView = [[UIImageView alloc]init];
        [self.contentView addSubview:_myImageView];
        [_myImageView release];
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.myImageView.frame = CGRectMake(0, 0, 100, 100);
}

@end
